Optimal. Leaf size=64 \[ -\frac {a^3 \log \left (a+b x^n\right )}{b^4 n}+\frac {a^2 x^n}{b^3 n}-\frac {a x^{2 n}}{2 b^2 n}+\frac {x^{3 n}}{3 b n} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 64, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.118, Rules used = {266, 43} \[ \frac {a^2 x^n}{b^3 n}-\frac {a^3 \log \left (a+b x^n\right )}{b^4 n}-\frac {a x^{2 n}}{2 b^2 n}+\frac {x^{3 n}}{3 b n} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 43
Rule 266
Rubi steps
\begin {align*} \int \frac {x^{-1+4 n}}{a+b x^n} \, dx &=\frac {\operatorname {Subst}\left (\int \frac {x^3}{a+b x} \, dx,x,x^n\right )}{n}\\ &=\frac {\operatorname {Subst}\left (\int \left (\frac {a^2}{b^3}-\frac {a x}{b^2}+\frac {x^2}{b}-\frac {a^3}{b^3 (a+b x)}\right ) \, dx,x,x^n\right )}{n}\\ &=\frac {a^2 x^n}{b^3 n}-\frac {a x^{2 n}}{2 b^2 n}+\frac {x^{3 n}}{3 b n}-\frac {a^3 \log \left (a+b x^n\right )}{b^4 n}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.04, size = 52, normalized size = 0.81 \[ \frac {b x^n \left (6 a^2-3 a b x^n+2 b^2 x^{2 n}\right )-6 a^3 \log \left (a+b x^n\right )}{6 b^4 n} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.79, size = 52, normalized size = 0.81 \[ \frac {2 \, b^{3} x^{3 \, n} - 3 \, a b^{2} x^{2 \, n} + 6 \, a^{2} b x^{n} - 6 \, a^{3} \log \left (b x^{n} + a\right )}{6 \, b^{4} n} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {x^{4 \, n - 1}}{b x^{n} + a}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.03, size = 69, normalized size = 1.08 \[ -\frac {a^{3} \ln \left (b \,{\mathrm e}^{n \ln \relax (x )}+a \right )}{b^{4} n}+\frac {a^{2} {\mathrm e}^{n \ln \relax (x )}}{b^{3} n}-\frac {a \,{\mathrm e}^{2 n \ln \relax (x )}}{2 b^{2} n}+\frac {{\mathrm e}^{3 n \ln \relax (x )}}{3 b n} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.50, size = 60, normalized size = 0.94 \[ -\frac {a^{3} \log \left (\frac {b x^{n} + a}{b}\right )}{b^{4} n} + \frac {2 \, b^{2} x^{3 \, n} - 3 \, a b x^{2 \, n} + 6 \, a^{2} x^{n}}{6 \, b^{3} n} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.02 \[ \int \frac {x^{4\,n-1}}{a+b\,x^n} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 45.92, size = 71, normalized size = 1.11 \[ \begin {cases} \frac {\log {\relax (x )}}{a} & \text {for}\: b = 0 \wedge n = 0 \\\frac {\log {\relax (x )}}{a + b} & \text {for}\: n = 0 \\\frac {x^{4 n}}{4 a n} & \text {for}\: b = 0 \\- \frac {a^{3} \log {\left (\frac {a}{b} + x^{n} \right )}}{b^{4} n} + \frac {a^{2} x^{n}}{b^{3} n} - \frac {a x^{2 n}}{2 b^{2} n} + \frac {x^{3 n}}{3 b n} & \text {otherwise} \end {cases} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________